]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Paginate AllView
authorCarlos Soriano <carlos.soriano89@gmail.com>
Tue, 27 Aug 2013 19:22:16 +0000 (21:22 +0200)
committerCarlos Soriano <carlos.soriano89@gmail.com>
Mon, 2 Sep 2013 17:06:35 +0000 (19:06 +0200)
commit754ca7c8f2db3268e29a84ab985e263888f55d11
treeaf86ec595d64a6c315143c8972a573fdedead1ee
parent804c02701ac7d24ecbf76e28fe4cdfed008a0fcd
appDisplay: Paginate AllView

Organize applications in AllView by pages using the new PaginatedIconGrid
added previously. Pagination is generally a better pattern for collections
than scrolling, as it better suits spacial memory.
Hook into AppDisplay's allocation function to communicate the available
size to the different views before child allocations - this is only
required by the paginated view (as pages must be computed before
calling get_preferred_height/get_preferred_width), but doing it for
all views will guarantee that their dynamic spacing calculation is
based on the same values.

https://bugzilla.gnome.org/show_bug.cgi?id=706081
data/theme/gnome-shell.css
js/ui/appDisplay.js
js/ui/iconGrid.js